﻿using System.Threading.Tasks;

namespace Sidvall.WorkItemManager.Data
{
    public partial interface IMonitoredWorkItem : Sidvall.Data.IDataRowContextProvider
    {
        bool IsEnabled { get; set; }
        System.Nullable<System.TimeSpan> MaxExecutionTime { get; set; }
        System.Nullable<System.TimeSpan> MaxExecutionTimeAlarmTimeout { get; set; }
        System.Nullable<System.TimeSpan> MaxFailedExecutionAlarmTimeout { get; set; }
        System.Nullable<int> MaxFailedExecutionCount { get; set; }
        System.Nullable<System.TimeSpan> MaxIdleTime { get; set; }
        System.Nullable<System.TimeSpan> MaxIdleTimeAlarmTimeout { get; set; }
        int MonitorContextId { get; set; }
        System.Nullable<long> MonitoredWorkItemId { get; set; }
        System.Nullable<System.TimeSpan> SensorAlarmTimeout { get; set; }
        global::Sidvall.Data.ComparisonOperator SensorComparisonOperator { get; set; }
        string SensorName { get; set; }
        string SensorValue { get; set; }
        System.Nullable<long> WorkItemId { get; set; }
        IMonitorContext MonitorContext { get; set; }
    }
}